package model
{
	import model.Statut;
	
	[RemoteClass(alias="model.Enseignant")]
	[Bindable]
	public class Enseignant
	{
		private var m_id_enseignant			:Number;
		private var m_nom					:String = "";
		private var m_prenom				:String = "";
		private var m_adr_1					:String = "";
		private var m_adr_2					:String = "";
		private var m_cp					:String = "";
		private var m_ville					:String = "";
		private var m_pays					:String = "";
		private var m_id_statut				:Number;
		private var m_aStatut				:Statut;
		private var m_collUtilisateurs		:Array;
		private var m_collServices			:Array;
		private var m_collEnseigners		:Array;
		private var m_collFairePartis		:Array;
		private var m_collAnneeEtudes		:Array;
		
		public function Enseignant()
		{

		}
		
		
		public function get id_enseignant():Number{
			return m_id_enseignant;
		}
		
		public function set id_enseignant(value:Number):void{
			m_id_enseignant = value;
		}
		
		public function get nom():String{
			return m_nom;
		}
		
		public function set nom(value:String):void{
			m_nom = value;
		}
		
		public function get prenom():String{
			return m_prenom;
		}
		
		public function set prenom(value:String):void{
			m_prenom = value;
		}
		
		public function get adr_1():String{
			return m_adr_1;
		}
		
		public function set adr_1(value:String):void{
			m_adr_1 = value;
		}
		
		public function get adr_2():String{
			return m_adr_2;
		}
		
		public function set adr_2(value:String):void{
			m_adr_2 = value;
		}
		
		public function get cp():String{
			return m_cp;
		}
		
		public function set cp(value:String):void{
			m_cp = value;
		}
		
		public function get ville():String{
			return m_ville;
		}
		
		public function set ville(value:String):void{
			m_ville = value;
		}
		
		public function get pays():String{
			return m_pays;
		}
		
		public function set pays(value:String):void{
			m_pays = value;
		}
		
		public function get id_statut():Number{
			return m_id_statut;
		}
		
		public function set id_statut(value:Number):void{
			m_id_statut = value;
		}
		
		public function get aStatut():Statut{
			return m_aStatut;
		}
		
		public function set aStatut(value:Statut):void{
			m_aStatut = value;
		}
		
		public function get collUtilisateurs():Array{
			return m_collUtilisateurs;
		}
		
		public function set collUtilisateurs(value:Array):void{
			m_collUtilisateurs = value;
		}
		
		public function get collServices():Array{
			return m_collServices;
		}
		
		public function set collServices(value:Array):void{
			m_collServices = value;
		}
		
		public function get collEnseigners():Array{
			return m_collEnseigners;
		}
		
		public function set collEnseigners(value:Array):void{
			m_collEnseigners = value;
		}
		
		public function get collFairePartis():Array{
			return m_collFairePartis;
		}
		
		public function set collFairePartis(value:Array):void{
			m_collFairePartis = value;
		}
		
		public function get collAnneeEtudes():Array{
			return m_collAnneeEtudes;
		}
		
		public function set collAnneeEtudes(value:Array):void{
			m_collAnneeEtudes = value;
		}
		
		public function toString():String
		{
			return nom+" "+prenom;
		}
	}
}